package com.ruoyi.project.xkx.order.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.xkx.order.domain.YsOrder;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WuYalong
 * @since 2021-05-10
 */
public interface YsOrderService extends IService<YsOrder> {
    Page<YsOrder> getListByPage(Page<YsOrder> page,String orderNumber);

    boolean addNewOrderAndGenerateDetails(YsOrder ysOrder);
}
